﻿using System;

class Knight : Unit
{
    public Knight(string ownerinput, int amountinput)
    {
        amount = amountinput;
        owner = ownerinput;
        hp = 40;
        att = 20;
        def = 20;
        name = "K";
        range = 1;
        movement = 3;
        curHP = hp * amount;
        if (owner == "P1")
        {
            currentX = 1;
            currentY = 3;
        }
        else
        {
            currentX = 15;
            currentY = 3;
        }
    }
}

